regexp/syntax.parser.flags (field)
28 uses
regexp/syntax (current package)
parse.go#L127: flags Flags // parse mode flags
parse.go#L296: if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) {
parse.go#L301: re.Flags = p.flags &^ FoldCase
parse.go#L311: if p.maybeConcat(re.Rune[0], p.flags|FoldCase) {
parse.go#L318: re.Flags = p.flags | FoldCase
parse.go#L369: re.Flags = p.flags
parse.go#L370: if p.flags&FoldCase != 0 {
parse.go#L395: re.Flags = p.flags
parse.go#L404: flags := p.flags
parse.go#L405: if p.flags&PerlX != 0 {
parse.go#L919: p.flags = flags
parse.go#L933: if p.flags&PerlX != 0 && len(t) >= 2 && t[1] == '?' {
parse.go#L952: if p.flags&OneLine != 0 {
parse.go#L959: if p.flags&OneLine != 0 {
parse.go#L966: if p.flags&DotNL != 0 {
parse.go#L1012: if p.flags&PerlX != 0 && len(t) >= 2 {
parse.go#L1050: re.Flags = p.flags
parse.go#L1197: flags := p.flags
parse.go#L1246: p.flags = flags
parse.go#L1429: p.flags = re2.Flags
parse.go#L1585: if p.flags&PerlX == 0 || len(s) < 2 || s[0] != '\\' {
parse.go#L1617: if p.flags&FoldCase == 0 {
parse.go#L1662: if p.flags&UnicodeGroups == 0 || len(s) < 2 || s[0] != '\\' || s[1] != 'p' && s[1] != 'P' {
parse.go#L1708: if p.flags&FoldCase == 0 || fold == nil {
parse.go#L1737: re.Flags = p.flags
parse.go#L1747: if p.flags&ClassNL == 0 {
parse.go#L1757: if t != "" && t[0] == '-' && p.flags&PerlX == 0 && !first && (len(t) == 1 || t[1] != ']') {
parse.go#L1809: if p.flags&FoldCase == 0 {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |